import * as echarts from "echarts/core"
import {
  TooltipComponent,
  GridComponent,
  GeoComponent,
} from "echarts/components"
import {
  PieChart,
  BarChart,
  MapChart,
  EffectScatterChart,
} from "echarts/charts"
import { LabelLayout } from "echarts/features"
import { CanvasRenderer } from "echarts/renderers"
echarts.use([
  TooltipComponent,
  GridComponent,
  PieChart,
  CanvasRenderer,
  LabelLayout,
  BarChart,
  MapChart,
  GeoComponent,
  EffectScatterChart,
])

export default echarts
